﻿using System;

namespace SimulationCenter.Scripts
{
    public class ScriptExecutorException : Exception
    {
        public string Step { get; set; }

        public string Description { get; set; }

        public ScriptExecutorException(string step, string description = null)
            : base($"step:{step} \r\n description: {description}")
        {
            Step = step;
            Description = description;
        }
    }
}
